#include<iostream>
int main()
{
	double r,h,C1,Sa,Sb,Va;
	float Vb;
	scanf("%lf%lf",&r,&h);
	C1=2.0*3.14*r;
	Sa=r*r*3.14;
	Sb=4.0*3.14*r*r;
	Va=(4.0/3.0)*3.14*r*r*r;
	Vb=r*r*3.14*h;
	printf("C1=%.2lf\n",C1);
	printf("Sa=%.2lf\n",Sa);
	printf("Sb=%.2lf\n",Sb);
	printf("Va=%.2lf\n",Va);
	printf("Vb=%.2lf\n",Vb);
	system("pause");
	return 0;
}
